PHILADELPHIA — A Pennsylvania grand jury has recommended that Kathleen G. Kane, the state’s attorney general, be charged with perjury and other crimes in connection with her office’s disclosure of details about the secret investigation of a Philadelphia civil rights leader, according to documents released Wednesday.

Ms. Kane, the only woman and the first Democrat elected to Pennsylvania’s highest law enforcement post, has denied wrongdoing.

The grand jury’s recommendation to charge Ms. Kane with perjury, false swearing, official oppression and obstruction is only advisory. Ms. Kane, who took office in 2013 and has been viewed as a rising star in Democratic politics in the state, has not been charged with a crime.

Risa Vetri Ferman, the Republican district attorney of Montgomery County, a suburban county northwest of Philadelphia, will decide whether to file charges. (The statewide grand jury heard the case in Montgomery County.)